package ex3;

public class Main2 {
    public static void main(String[] args) {
        affterClass [] student = new affterClass[10];
        for (int i = 0; i < 10; i++) {
            student[i] = new affterClass("2017"+i,"abc",i*10);
        }
        for (int j = 0; j < 10; j++) {
            student[j].disPlay(student[j]);
        }
    }
}
